#include <cppunit/ui/text/TestRunner.h>

#include "utilsTest.h"
#include "cs2nuclTest.h"
#include "assembleDnaTest.h"
#include "randomGeneratorTest.h"
#include "histoTest.h"
#include "sortDnaListTest.h"

int main(int argc, char** argv)
{
  CPPUNIT_NS::TextUi::TestRunner runner;

  runner.addTest( ListTest::suite() );
  runner.addTest( NuclTest::suite() );
  runner.addTest( Color2NucleotideTest::suite() );
  runner.addTest( AssembleDnaTest::suite() );
  runner.addTest( RandomGeneratorTest::suite() );
  runner.addTest( HistoTest::suite() );
  runner.addTest( SortDnaListTest::suite() );

  bool wasSuccessful = runner.run();

  return wasSuccessful ? 0 : 1;
}
